This is an example of how to create starship refits requiring proximity to an Eraudi yard, refit cost, and refit durations.

In this example, the Excelsior can be refitted to an Excelsior II and the Nova can be refitted to the Rhode Island refit.  Both ships have to reach veteran rank before the refit option becomes available.  Both verteran ships have been added to the Federation Uncommon ships section of the editor if you don't want to wait.

In order to perform the refit, you have to have start as Federation and have an Eraudi yard.  After reaching veteran level, move the ship near the Eraudi yard and the refit option will appear for the ship.

IMPORTANT: ALLOW THE SHIP TO COME TO A COMPLETE STOP BEFORE TRIGGERING THE REFIT!  If you trigger the refit while the ship is in motion, the process will begin but the pushbuild will not happen and you will be stuck with a useless image of the ship.  I don't know why this happens.

In my first attempts, I tried giving fedrefitC.odf as a weapon directly to the Eraudi yard, which would have eliminated a lot of files.  This never worked for me.

In my other mod, I have this set up so that the SF command calls fed_refitB.odf directly, eliminating the need for the fed_effects.odf and fed_effectsR.odf files (and also allowing the refits to work as long as you have an SF command, regardless of what race you're playing).  For some reason, I couldn't get this to work in the new mod.  For anyone interested, though, it is possible and I'll post the solution if I can figure out what the problem is.

This is my first successful attempt at the refit process - improvements or suggestions would be greatly welcomed.

dragonmalice
bmjudd@myactv.net